package com.zbc.controller;

import com.zbc.domain.common.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author fangyu
 * @version v1.0.0
 * @since 2025/9/1 23:30
 */
@RestController
@RequestMapping("/test")
@Api(tags = "测试接口")
public class MainController {
    @ApiOperation(value = "健康接口检查")
    @GetMapping("health")
    public Result<String> health() {
        return Result.success("Successfully, My Brother!");
    }
}